package com.far.permisions.manager;

import java.util.HashSet;
import java.util.Set;

public class ExclusionsManager {
    private final Set<String> exclusions = new HashSet<>();

    public void add(String exclusion){
        exclusions.add(exclusion);
    }

    public void addAll(Set<String> exclusions){
        this.exclusions.addAll(exclusions);
    }

    public void remove(String exclusion){
        exclusions.remove(exclusion);
    }

    public Set<String> getExclusions(){
        return exclusions;
    }
}
